<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			*{
				margin: 0;
				padding: 0;
			}
			#d1{
				height: 300px;
				background-color: blue;
			}
			.c1{
				margin: 5px auto;
				background-color: darkgray;
				border: 1px dashed #00AD5F;
				
				width:600px ;
				height: 100px;
				
			}
			#d3{
				position: relative;
				top:-30px;
				left:20px;
				background-color: red;
				float: right;
				
			}
		</style>
	</head>
	<body>
		<div id="d1">111</div>
		<div  class="c1">
		2222	
		</div>
		<div id="d3" class="c1">
		333	
		</div>
		<div class="c1">
		555	
		</div>

	</body>
</html>
